package com.zhiwei.service;

import com.zhiwei.pojo.UserRequests;
import com.zhiwei.vo.PageResult;

import java.text.ParseException;

public interface UserRequestsService {
    PageResult getRequestList(PageResult pageResult);

    int addRequest(UserRequests requests) throws ParseException;

    int deleteRequest(Integer id);

    PageResult getMyRequests(PageResult pageResult);

    int updateRequest(UserRequests request);

    PageResult getDoneRequests(PageResult pageResult);

    int agreeRequest(UserRequests request);
}
